home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / Tool Chest / !Interfaces / Universal Interfaces 2.0a1 / CIncludes / Strings.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-07-17  |  1016 b   |  56 lines  |  [TEXT/MPS ]

  1. /*
  2.      File:        Strings.h
  3.  
  4.      Copyright:    © 1984-1994 by Apple Computer, Inc.
  5.                  All rights reserved.
  6.  
  7.      Version:    Universal Interfaces 2.0a1.  ETO #15, MPW prerelease.  Sunday, July 17, 1994. 
  8.  
  9.      Bugs?:        If you find a problem with this file, send the file and version
  10.                  information (from above) and the problem description to:
  11.  
  12.                      Internet:    apple.bugs@applelink.apple.com
  13.                      AppleLink:    APPLE.BUGS
  14.  
  15. */
  16.  
  17. #ifndef __STRINGS__
  18. #define __STRINGS__
  19.  
  20.  
  21. #ifndef __TYPES__
  22. #include <Types.h>
  23. #endif
  24. /*    #include <ConditionalMacros.h>                                */
  25.  
  26. #ifdef __cplusplus
  27. extern "C" {
  28. #endif
  29.  
  30. #if GENERATINGPOWERPC
  31. #pragma options align=mac68k
  32. #endif
  33.  
  34. #ifdef __CFM68K__
  35. #pragma lib_export on
  36. #endif
  37.  
  38. extern StringPtr c2pstr(char *aStr);
  39. extern pascal StringPtr C2PStr(Ptr cString);
  40. extern char *p2cstr(StringPtr aStr);
  41. extern pascal Ptr P2CStr(StringPtr pString);
  42.  
  43. #ifdef __CFM68K__
  44. #pragma lib_export off
  45. #endif
  46.  
  47. #if GENERATINGPOWERPC
  48. #pragma options align=reset
  49. #endif
  50.  
  51. #ifdef __cplusplus
  52. }
  53. #endif
  54.  
  55. #endif /* __STRINGS__ */
  56.